package org.springframework.zp.log;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * 用于测试整合了 lombok 输出日志和书信填充功能
 */
@Data
@Component("printLog")
@Slf4j
public class PrintLog  {

	String name;

	@PostConstruct
	public void initMehtod(){

		log.info("****   printLog  initMethod  ****");
	}

}
